package com.aifast.dict.properties;

/**
 * @Author AiFast
 * @since 2022/12/30 11:22
 */
public class EhCacheSetProperties {

    private String path = "fastDictEhCache";

    private Integer heap = 10;

    private Integer disk = 1;

    private Integer timeToIdleExpiration = 10;

    private Integer timeToLiveExpiration = 100;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getHeap() {
        return heap;
    }

    public void setHeap(Integer heap) {
        this.heap = heap;
    }

    public Integer getDisk() {
        return disk;
    }

    public void setDisk(Integer disk) {
        this.disk = disk;
    }

    public Integer getTimeToIdleExpiration() {
        return timeToIdleExpiration;
    }

    public void setTimeToIdleExpiration(Integer timeToIdleExpiration) {
        this.timeToIdleExpiration = timeToIdleExpiration;
    }

    public Integer getTimeToLiveExpiration() {
        return timeToLiveExpiration;
    }

    public void setTimeToLiveExpiration(Integer timeToLiveExpiration) {
        this.timeToLiveExpiration = timeToLiveExpiration;
    }

    @Override
    public String toString() {
        return "EhCacheSetProperties{" +
                "path='" + path + '\'' +
                ", heap=" + heap +
                ", disk=" + disk +
                ", timeToIdleExpiration=" + timeToIdleExpiration +
                ", timeToLiveExpiration=" + timeToLiveExpiration +
                '}';
    }
}
